package com.aspose.cells;

class zaqc {
   String a;
   int b = 9;
   double c;
   double d;
   int e;
   int f = 1;
   double g = 0.7874D;
   double h = 0.7874D;
   double i = 0.7874D;
   double j = 0.7874D;
   double k = 0.2953D;
   double l = 0.2953D;
   double m = 0.0984D;
   double n = 0.0984D;
   int o = -1;
   boolean p = true;
   boolean q = true;
   double r = 100.0D;
   double s = 0.0D;
   double t = 0.0D;
   boolean u;
   boolean v;
   int w = 0;
   boolean x;
   boolean y;
   boolean z;
   boolean A;

   void a() {
      if (this.f == 0) {
         this.b = zakq.a(this.d, this.c);
      } else {
         this.b = zakq.a(this.c, this.d);
      }

   }

   void a(PageSetup var1) {
      if (this.q) {
         var1.setZoom((int)this.r);
      } else {
         var1.setFitToPagesWide((int)this.t);
         var1.setFitToPagesTall((int)this.s);
      }

      var1.setPaperSize(this.b);
      var1.setOrientation(this.f);
      var1.setOrder(this.w);
      var1.setCenterHorizontally(this.u);
      var1.setCenterVertically(this.v);
      var1.setLeftMarginInch(this.h);
      var1.setRightMarginInch(this.j);
      var1.setHeaderMarginInch(this.g);
      var1.setFooterMarginInch(this.i);
      var1.setTopMarginInch(this.g + this.k);
      var1.setBottomMarginInch(this.i + this.l);
      var1.setPrintDraft(this.z);
      if (!this.p) {
         var1.setFirstPageNumber(this.o);
      }

      var1.setPrintComments(this.A ? 0 : 1);
      var1.setPrintGridlines(this.y);
      var1.setPrintHeadings(this.x);
   }
}
